package com.ruoyi.repairCar.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 服务项目订单关联表
 * @TableName order_service_item
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="order_service_item")
@Data
public class OrderServiceItem extends BaseEntity {
    /**
     * 服务订单关联ID
     */
    @TableId(type = IdType.AUTO)
    private Long relationId;

    /**
     * 服务项目ID
     */
    private Long serviceId;

    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * 服务项目名
     */
    private String serviceName;

    /**
     * 应付金额
     */
    private BigDecimal totalAmount;

    /**
     * 实付金额
     */
    private BigDecimal actualAmount;

    /**
     * 扩展字段1
     */
    private String ext1;

    /**
     * 扩展字段2
     */
    private String ext2;

    /**
     * 扩展字段3
     */
    private String ext3;

    /**
     * 扩展字段4
     */
    private String ext4;

    /**
     * 扩展字段5
     */
    private String ext5;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}